#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:6031)
#include <stdio.h>

int main()
{
    int m = 0;
    scanf("%d", &m);
    int sqrt = m * m;
    int _odd = sqrt - m + 1;//first
    for (int i = 0; i < m; i++)
    {
        printf("%d", _odd);
        _odd += 2;
        if (i < m - 1)
        {
            printf("+");
        }
    }
    return 0;
}
